package com.appstore.model;

import java.sql.Timestamp;

/**
 * Comment is mapped to comment table.
 * 
 * @author zhbhun
 * 
 */
public class Comment {

	private Integer id;
	private String containt;
	private Timestamp createdTime;
	private int applicationId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getContaint() {
		return containt;
	}

	public void setContaint(String containt) {
		this.containt = containt;
	}

	public Timestamp getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Timestamp createdTime) {
		this.createdTime = createdTime;
	}

	public int getApplicationId() {
		return applicationId;
	}

	public void setApplicationId(int applicationId) {
		this.applicationId = applicationId;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Comment [id=");
		builder.append(id);
		builder.append(", containt=");
		builder.append(containt);
		builder.append(", createdTime=");
		builder.append(createdTime);
		builder.append(", applicationId=");
		builder.append(applicationId);
		builder.append("]");
		return builder.toString();
	}

}
